package com.wish.wishhouses_market.mapper;

import com.wish.wishhouses_market.entity.TbPremisesFacility;
import com.wish.wishhouses_market.entity.TbPremisesInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wish.wishhouses_market.entity.TbRelationPremisesProperty;

import java.util.List;

/**
 * <p>
 * 楼盘信息表 Mapper 接口
 * </p>
 *
 * @author fanzijun
 * @since 2021-03-31
 */
public interface TbPremisesInfoMapper extends BaseMapper<TbPremisesInfo> {

    List<TbPremisesInfo> getList(TbPremisesInfo premisesInfo);

    void saveConfig(List<TbRelationPremisesProperty> premisesProperties);

    void saveFacility(List<TbPremisesFacility> facilities);

    List<String> getProList(Integer id);
}
